package com.xbongbong.paas.pojo.workflow.explains.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author 吴峰
 * @date 2021/07/12 15:35
 */
@Getter
@Setter
@ToString
public class WorkflowDynamicManagerDTO extends BaseDTO {
    private static final long serialVersionUID = 1925818448716767069L;

    /**
     * 条件值
     */
    @NotNull(message = "{dto.msg.workflowId.NotNull}")
    private Long workflowId;

    /**
     *
     */
    @NotNull(message = "{dto.msg.workflowNodeId.NotNull}")
    private Long workflowNodeId;

    @NotEmpty(message = "{dto.msg.WorkflowInsertNodeOperatorFieldDTO.nodeId.NotNull}")
    private String nodeId;

    @NotEmpty(message = "{dto.msg.WorkflowInsertNodeOperatorFieldDTO.prevId.NotNull}")
    private String prevId;
}
